home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3509 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  775 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Using own stacks with borlandc
  5. Date: 30 Jan 1996 05:29:23 +1300
  6. Organization: Airdmhor
  7. Message-ID: <4eisl3$9d2@airdmhor.gen.nz>
  8. References: <4ef339$24q@thor.atcon.com>
  9. NNTP-Posting-Host: localhost.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Konrad Byers:
  13. > Are there any special compiler options I should be using to set up my
  14. > own stack in Borlandc. How about assume ds=ss? What should this one
  15. > be? I'm using a huge memory model.
  16.  
  17.   Turn off stack overflow checking for a start.. umm.. you can assume ds=ss
  18. if your own stack is near (ie. short near Stack[1024]).  If you don't use
  19. near in the declaration (or if you don't use nmalloc()) then turn it off.
  20.